﻿using Future.Common.Attribute;
using Future.Common.Enum;
using SqlSugar;

namespace Future.Model.SysModel
{
    /// <summary>
    /// 描述：字典类型表
    /// 创建人： yangkai
    /// 创建时间：2022/11/4 18:25:46
    /// </summary>
    [SugarTable("Sys_DictType")]
    public class DictTypeModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 字典名称
        /// </summary>
        [Excel("字典名称", 100)]
        public string DictName { get; set; } = string.Empty;

        /// <summary>
        /// 字典类型
        /// </summary>
        [Excel("字典类型", 90)]
        public string DictType { get; set; } = string.Empty;

        /// <summary>
        /// 状态（0正常 1停用）
        /// </summary>
        [Excel("状态", 80)]
        public StatusEnum Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [Excel("创建人", 70)]
        public string CreateBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        [Excel("创建时间", 60)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateBy { get; set; } = string.Empty;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Excel("备注", 50)]
        public string Remark { get; set; } = string.Empty;

    }
}
